home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 1
/
Gekikoh Dennoh Club Vol. 1 (Japan).7z
/
Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin
/
kowin
/
emacsed.rc
< prev
next >
Wrap
Text File
|
1994-10-11
|
2KB
|
71 lines
;-----------------------------------------
; Emacs.rc for MicroEmacs 3.10 Ko ver.3
; 1990 8-24 by 小笠原博之
; 1991 5-06 for Ko-MicroEMACS K0
; 1991 8-30 for Ko-MicroEMACS K1
; 1991 12-09 for Ko-MicroEMACS K2
; 1993 5-22 for Ko-MicroEMACS K2.1
; 1994 10-11 for Ko-MicroEMACS K3
;-----------------------------------------
;● ED 風バインドバージョン●
set $discmd FALSE
print "[ ED mode ]
set $makbak FALSE ;.bak作成
;set $disnum TRUE ;行番号
set $dispcr TRUE ;改行記号
set $hscroll TRUE ;水平scroll
set $sscroll FALSE ;smooth scrl
set $hjump 8 ;水平scroll8字毎
add-global-mode "EXACT" ;検索時大文字小文字区別
; 縦方向に行単位でスクロールさせたい場合は set $sscroll TRUE にセットして下
; さい。
;●CMODE/WRAP設定●
40 store-macro
set %rdtmp &sin $cfname "."
!if &equ %rdtmp 0
!return
!endif
set %rdtmp &low &mid $cfname &add %rdtmp 1 5
!if &or &seq %rdtmp "c" &seq %rdtmp "h"
add-mode "cmode"
!endif
!if &or &seq %rdtmp "doc" &seq %rdtmp "txt"
add-mode "wrap"
set $fillcol 76
!endif
!endm
set $bufhook execute-macro-40
;●行の2重化●
5 store-macro
set $discmd FALSE
8 set-mark
copy-line
beginning-of-line
next-line
yank
8 goto-mark
set $discmd TRUE
!endm
;●tag jump●
;8 store-macro
; このマクロは各自用意して下さい。申し訳ない・・
;!endm
;●help●
set %helpflag 0
9 store-macro
!if &equ %helpflag 0
split-current-window
find-file "emacsed.hlp"
10 resize-window
next-window
set %helpflag 1
!else
delete-other-windows
delete-buffer "emacsed.hlp"
set %helpflag 0
!endif
!endm
bind-to-key goto-line ^]
;●●
set $discmd TRUE